home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xemacs.idb / usr / freeware / lib / xemacs-20.4 / lisp / gnus / nngateway.elc.z / nngateway.elc
Emacs Compiled Lisp  |  1998-05-21  |  2.6 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text


This file was processed as: Emacs Compiled Lisp (other/emacsCompiledLisp).
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert Emacs Compiled Lisp (other/emacsCompiledLisp) magic Unsupported
100% file Emacs/XEmacs v20 byte-compiled Lisp data default
99% file data default
100% TrID Emacs/XEmacs byte-compiled Lisp (generic) default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 14 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 6a 75 73 74 69 6e 62 |piled by| justinb|
|00000020| 40 65 62 6f 6e 79 2e 63 | 72 61 79 2e 63 6f 6d 20 |@ebony.c|ray.com |
|00000030| 6f 6e 20 4d 6f 6e 20 4d | 61 72 20 20 39 20 31 33 |on Mon M|ar 9 13|
|00000040| 3a 30 33 3a 30 33 20 31 | 39 39 38 0a 3b 3b 3b 20 |:03:03 1|998.;;; |
|00000050| 66 72 6f 6d 20 66 69 6c | 65 20 2f 68 6f 6d 65 2f |from fil|e /home/|
|00000060| 61 73 70 65 6e 30 37 2f | 6a 75 73 74 69 6e 62 2f |aspen07/|justinb/|
|00000070| 72 6f 6f 74 73 2f 66 72 | 65 65 77 61 72 65 2f 78 |roots/fr|eeware/x|
|00000080| 65 6d 61 63 73 2f 32 30 | 2e 33 2f 78 65 6d 61 63 |emacs/20|.3/xemac|
|00000090| 73 2d 32 30 2e 33 2f 6c | 69 73 70 2f 67 6e 75 73 |s-20.3/l|isp/gnus|
|000000a0| 2f 6e 6e 67 61 74 65 77 | 61 79 2e 65 6c 0a 3b 3b |/nngatew|ay.el.;;|
|000000b0| 3b 20 65 6d 61 63 73 20 | 76 65 72 73 69 6f 6e 20 |; emacs |version |
|000000c0| 32 30 2e 34 20 22 45 6d | 65 72 61 6c 64 22 20 58 |20.4 "Em|erald" X|
|000000d0| 45 6d 61 63 73 20 20 4c | 75 63 69 64 2e 0a 3b 3b |Emacs L|ucid..;;|
|000000e0| 3b 20 62 79 74 65 63 6f | 6d 70 20 76 65 72 73 69 |; byteco|mp versi|
|000000f0| 6f 6e 20 32 2e 32 35 20 | 58 45 6d 61 63 73 3b 20 |on 2.25 |XEmacs; |
|00000100| 32 32 2d 4d 61 72 2d 39 | 36 2e 0a 3b 3b 3b 20 6f |22-Mar-9|6..;;; o|
|00000110| 70 74 69 6d 69 7a 61 74 | 69 6f 6e 20 69 73 20 6f |ptimizat|ion is o|
|00000120| 6e 2e 0a 3b 3b 3b 20 74 | 68 69 73 20 66 69 6c 65 |n..;;; t|his file|
|00000130| 20 75 73 65 73 20 6f 70 | 63 6f 64 65 73 20 77 68 | uses op|codes wh|
|00000140| 69 63 68 20 64 6f 20 6e | 6f 74 20 65 78 69 73 74 |ich do n|ot exist|
|00000150| 20 69 6e 20 45 6d 61 63 | 73 20 31 39 2e 0a 0a 28 | in Emac|s 19...(|
|00000160| 69 66 20 28 61 6e 64 20 | 28 62 6f 75 6e 64 70 20 |if (and |(boundp |
|00000170| 27 65 6d 61 63 73 2d 76 | 65 72 73 69 6f 6e 29 0a |'emacs-v|ersion).|
|00000180| 09 20 28 6f 72 20 28 61 | 6e 64 20 28 62 6f 75 6e |. (or (a|nd (boun|
|00000190| 64 70 20 27 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |dp 'epoc|h::versi|
|000001a0| 6f 6e 29 20 65 70 6f 63 | 68 3a 3a 76 65 72 73 69 |on) epoc|h::versi|
|000001b0| 6f 6e 29 0a 09 20 20 20 | 20 20 28 73 74 72 69 6e |on).. | (strin|
|000001c0| 67 2d 6c 65 73 73 70 20 | 65 6d 61 63 73 2d 76 65 |g-lessp |emacs-ve|
|000001d0| 72 73 69 6f 6e 20 22 32 | 30 22 29 29 29 0a 20 20 |rsion "2|0"))). |
|000001e0| 20 20 28 65 72 72 6f 72 | 20 22 60 6e 6e 67 61 74 | (error| "`nngat|
|000001f0| 65 77 61 79 2e 65 6c 27 | 20 77 61 73 20 63 6f 6d |eway.el'| was com|
|00000200| 70 69 6c 65 64 20 66 6f | 72 20 45 6d 61 63 73 20 |piled fo|r Emacs |
|00000210| 32 30 22 29 29 0a 0a 28 | 6f 72 20 28 62 6f 75 6e |20"))..(|or (boun|
|00000220| 64 70 20 27 63 75 72 72 | 65 6e 74 2d 6c 6f 61 64 |dp 'curr|ent-load|
|00000230| 2d 6c 69 73 74 29 20 28 | 73 65 74 71 20 63 75 72 |-list) (|setq cur|
|00000240| 72 65 6e 74 2d 6c 6f 61 | 64 2d 6c 69 73 74 20 6e |rent-loa|d-list n|
|00000250| 69 6c 29 29 0a 0a 0a 28 | 62 79 74 65 2d 63 6f 64 |il))...(|byte-cod|
|00000260| 65 20 22 c0 c1 21 88 c0 | c2 21 88 c3 c4 c5 c6 5c |e "..!..|.!.....\|
|00000270| 22 c6 89 46 0e 07 42 16 | 07 c3 c8 44 0e 09 42 16 |"..F..B.|...D..B.|
|00000280| 09 c6 87 22 20 5b 72 65 | 71 75 69 72 65 20 6e 6e |..." [re|quire nn|
|00000290| 6f 6f 20 6d 65 73 73 61 | 67 65 20 6e 6e 67 61 74 |oo messa|ge nngat|
|000002a0| 65 77 61 79 20 6d 61 70 | 63 61 72 20 23 5b 28 70 |eway map|car #[(p|
|000002b0| 29 20 22 08 43 87 22 20 | 5b 70 5d 20 31 5d 20 6e |) ".C." |[p] 1] n|
|000002c0| 69 6c 20 6e 6e 6f 6f 2d | 64 65 66 69 6e 69 74 69 |il nnoo-|definiti|
|000002d0| 6f 6e 2d 61 6c 69 73 74 | 20 22 2a 69 6e 74 65 72 |on-alist| "*inter|
|000002e0| 6e 61 6c 2d 6e 6f 6e 2d | 69 6e 69 74 69 61 6c 69 |nal-non-|initiali|
|000002f0| 7a 65 64 2d 62 61 63 6b | 65 6e 64 2a 22 20 6e 6e |zed-back|end*" nn|
|00000300| 6f 6f 2d 73 74 61 74 65 | 2d 61 6c 69 73 74 5d 20 |oo-state|-alist] |
|00000310| 34 29 0a 23 40 33 38 20 | 41 64 64 72 65 73 73 20 |4).#@38 |Address |
|00000320| 6f 66 20 74 68 65 20 6d | 61 69 6c 2d 74 6f 2d 6e |of the m|ail-to-n|
|00000330| 65 77 73 20 67 61 74 65 | 77 61 79 2e 1f 0a 28 64 |ews gate|way...(d|
|00000340| 65 66 76 61 72 20 6e 6e | 67 61 74 65 77 61 79 2d |efvar nn|gateway-|
|00000350| 61 64 64 72 65 73 73 20 | 6e 69 6c 20 28 23 24 20 |address |nil (#$ |
|00000360| 2e 20 37 39 32 29 29 0a | 28 6e 6e 6f 6f 2d 64 65 |. 792)).|(nnoo-de|
|00000370| 66 69 6e 65 20 27 6e 6e | 67 61 74 65 77 61 79 2d |fine 'nn|gateway-|
|00000380| 61 64 64 72 65 73 73 20 | 6e 69 6c 29 0a 23 40 31 |address |nil).#@1|
|00000390| 36 38 20 46 75 6e 63 74 | 69 6f 6e 20 74 6f 20 62 |68 Funct|ion to b|
|000003a0| 65 20 63 61 6c 6c 65 64 | 20 74 6f 20 72 65 77 72 |e called| to rewr|
|000003b0| 69 74 65 20 74 68 65 20 | 6e 65 77 73 20 68 65 61 |ite the |news hea|
|000003c0| 64 65 72 73 20 69 6e 74 | 6f 20 6d 61 69 6c 20 68 |ders int|o mail h|
|000003d0| 65 61 64 65 72 73 2e 0a | 49 74 20 69 73 20 63 61 |eaders..|It is ca|
|000003e0| 6c 6c 65 64 20 6e 61 72 | 72 6f 77 65 64 20 74 6f |lled nar|rowed to|
|000003f0| 20 74 68 65 20 68 65 61 | 64 65 72 73 20 74 6f 20 | the hea|ders to |
|00000400| 62 65 20 74 72 61 6e 73 | 66 6f 72 6d 65 64 20 77 |be trans|formed w|
|00000410| 69 74 68 20 6f 6e 65 0a | 70 61 72 61 6d 65 74 65 |ith one.|paramete|
|00000420| 72 20 2d 2d 20 74 68 65 | 20 67 61 74 65 77 61 79 |r -- the| gateway|
|00000430| 20 61 64 64 72 65 73 73 | 2e 1f 0a 28 64 65 66 76 | address|...(defv|
|00000440| 61 72 20 6e 6e 67 61 74 | 65 77 61 79 2d 68 65 61 |ar nngat|eway-hea|
|00000450| 64 65 72 2d 74 72 61 6e | 73 66 6f 72 6d 61 74 69 |der-tran|sformati|
|00000460| 6f 6e 20 27 6e 6e 67 61 | 74 65 77 61 79 2d 73 69 |on 'nnga|teway-si|
|00000470| 6d 70 6c 65 2d 68 65 61 | 64 65 72 2d 74 72 61 6e |mple-hea|der-tran|
|00000480| 73 66 6f 72 6d 61 74 69 | 6f 6e 20 28 23 24 20 2e |sformati|on (#$ .|
|00000490| 20 39 31 35 29 29 0a 28 | 62 79 74 65 2d 63 6f 64 | 915)).(|byte-cod|
|000004a0| 65 20 22 c0 c1 c2 5c 22 | 88 c3 c4 21 87 22 20 5b |e "...\"|...!." [|
|000004b0| 6e 6e 6f 6f 2d 64 65 66 | 69 6e 65 20 6e 6e 67 61 |nnoo-def|ine nnga|
|000004c0| 74 65 77 61 79 2d 68 65 | 61 64 65 72 2d 74 72 61 |teway-he|ader-tra|
|000004d0| 6e 73 66 6f 72 6d 61 74 | 69 6f 6e 20 6e 69 6c 20 |nsformat|ion nil |
|000004e0| 6e 6e 6f 6f 2d 64 65 66 | 69 6e 65 2d 62 61 73 69 |nnoo-def|ine-basi|
|000004f0| 63 73 2d 31 20 6e 6e 67 | 61 74 65 77 61 79 5d 20 |cs-1 nng|ateway] |
|00000500| 33 29 0a 28 64 65 66 61 | 6c 69 61 73 20 27 6e 6e |3).(defa|lias 'nn|
|00000510| 67 61 74 65 77 61 79 2d | 6f 70 65 6e 2d 73 65 72 |gateway-|open-ser|
|00000520| 76 65 72 20 23 5b 28 73 | 65 72 76 65 72 20 26 6f |ver #[(s|erver &o|
|00000530| 70 74 69 6f 6e 61 6c 20 | 64 65 66 73 29 20 22 c0 |ptional |defs) ".|
|00000540| 09 21 ab 82 c2 87 c3 0c | b7 ac 88 c5 0c c3 09 44 |.!......|.......D|
|00000550| 43 5c 22 14 c6 c7 09 0c | 23 87 22 20 5b 6e 6e 67 |C\".....|#." [nng|
|00000560| 61 74 65 77 61 79 2d 73 | 65 72 76 65 72 2d 6f 70 |ateway-s|erver-op|
|00000570| 65 6e 65 64 20 73 65 72 | 76 65 72 20 74 20 6e 6e |ened ser|ver t nn|
|00000580| 67 61 74 65 77 61 79 2d | 61 64 64 72 65 73 73 20 |gateway-|address |
|00000590| 64 65 66 73 20 61 70 70 | 65 6e 64 20 6e 6e 6f 6f |defs app|end nnoo|
|000005a0| 2d 63 68 61 6e 67 65 2d | 73 65 72 76 65 72 20 6e |-change-|server n|
|000005b0| 6e 67 61 74 65 77 61 79 | 5d 20 34 5d 29 0a 28 6e |ngateway|] 4]).(n|
|000005c0| 6e 6f 6f 2d 72 65 67 69 | 73 74 65 72 2d 66 75 6e |noo-regi|ster-fun|
|000005d0| 63 74 69 6f 6e 20 27 6e | 6e 67 61 74 65 77 61 79 |ction 'n|ngateway|
|000005e0| 2d 6f 70 65 6e 2d 73 65 | 72 76 65 72 29 0a 28 64 |-open-se|rver).(d|
|000005f0| 65 66 61 6c 69 61 73 20 | 27 6e 6e 67 61 74 65 77 |efalias |'nngatew|
|00000600| 61 79 2d 72 65 71 75 65 | 73 74 2d 70 6f 73 74 20 |ay-reque|st-post |
|00000610| 23 5b 28 26 6f 70 74 69 | 6f 6e 61 6c 20 73 65 72 |#[(&opti|onal ser|
|00000620| 76 65 72 29 20 22 c0 09 | 21 ac 85 c2 09 21 ad e8 |ver) "..|!....!..|
|00000630| 70 1b 8a c4 1d c6 1e 07 | c8 c9 ca 21 21 71 1e 0b |p.......|...!!q..|
|00000640| c4 1e 0c cd 8e ce 0b 21 | 88 cf 20 88 0e 10 0e 11 |.......!|.. .....|
|00000650| 21 88 64 62 88 0e 12 d3 | b1 02 88 7e 88 c4 1e 14 |!.db....|...~....|
|00000660| 0e 15 20 29 16 0c 0d ac | 84 0e 0c aa a9 0d d6 61 |.. )....|.......a|
|00000670| ab 88 0e 0b 71 88 d7 20 | aa 9c 0e 0b 71 88 d8 d9 |....q.. |....q...|
|00000680| 0d 21 21 ac 87 da d9 0d | 21 d6 5c 22 88 db 65 64 |.!!.....|!.\"..ed|
|00000690| 0d c4 dc 25 88 0e 0c 2e | 07 87 22 20 5b 6e 6e 67 |...%....|.." [nng|
|000006a0| 61 74 65 77 61 79 2d 73 | 65 72 76 65 72 2d 6f 70 |ateway-s|erver-op|
|000006b0| 65 6e 65 64 20 73 65 72 | 76 65 72 20 6e 6e 67 61 |ened ser|ver nnga|
|000006c0| 74 65 77 61 79 2d 6f 70 | 65 6e 2d 73 65 72 76 65 |teway-op|en-serve|
|000006d0| 72 20 62 75 66 20 6e 69 | 6c 20 74 65 6d 70 2d 66 |r buf ni|l temp-f|
|000006e0| 69 6c 65 20 66 75 6e 64 | 61 6d 65 6e 74 61 6c 2d |ile fund|amental-|
|000006f0| 6d 6f 64 65 20 64 65 66 | 61 75 6c 74 2d 6d 61 6a |mode def|ault-maj|
|00000700| 6f 72 2d 6d 6f 64 65 20 | 67 65 74 2d 62 75 66 66 |or-mode |get-buff|
|00000710| 65 72 2d 63 72 65 61 74 | 65 20 67 65 6e 65 72 61 |er-creat|e genera|
|00000720| 74 65 2d 6e 65 77 2d 62 | 75 66 66 65 72 2d 6e 61 |te-new-b|uffer-na|
|00000730| 6d 65 20 22 20 2a 6e 6e | 68 65 61 64 65 72 20 74 |me " *nn|header t|
|00000740| 65 6d 70 2a 22 20 74 65 | 6d 70 2d 62 75 66 66 65 |emp*" te|mp-buffe|
|00000750| 72 20 74 65 6d 70 2d 72 | 65 73 75 6c 74 73 20 28 |r temp-r|esults (|
|00000760| 28 62 79 74 65 2d 63 6f | 64 65 20 22 c0 09 21 ab |(byte-co|de "..!.|
|00000770| 84 c2 09 21 88 c0 87 22 | 20 5b 62 75 66 66 65 72 |...!..."| [buffer|
|00000780| 2d 6e 61 6d 65 20 74 65 | 6d 70 2d 62 75 66 66 65 |-name te|mp-buffe|
|00000790| 72 20 6b 69 6c 6c 2d 62 | 75 66 66 65 72 5d 20 32 |r kill-b|uffer] 2|
|000007a0| 29 29 20 69 6e 73 65 72 | 74 2d 62 75 66 66 65 72 |)) inser|t-buffer|
|000007b0| 2d 73 75 62 73 74 72 69 | 6e 67 20 6d 65 73 73 61 |-substri|ng messa|
|000007c0| 67 65 2d 6e 61 72 72 6f | 77 2d 74 6f 2d 68 65 61 |ge-narro|w-to-hea|
|000007d0| 64 20 6e 6e 67 61 74 65 | 77 61 79 2d 68 65 61 64 |d nngate|way-head|
|000007e0| 65 72 2d 74 72 61 6e 73 | 66 6f 72 6d 61 74 69 6f |er-trans|formatio|
|000007f0| 6e 20 6e 6e 67 61 74 65 | 77 61 79 2d 61 64 64 72 |n nngate|way-addr|
|00000800| 65 73 73 20 6d 61 69 6c | 2d 68 65 61 64 65 72 2d |ess mail|-header-|
|00000810| 73 65 70 61 72 61 74 6f | 72 20 22 5c 6e 22 20 6d |separato|r "\n" m|
|00000820| 65 73 73 61 67 65 2d 72 | 65 71 75 69 72 65 64 2d |essage-r|equired-|
|00000830| 6d 61 69 6c 2d 68 65 61 | 64 65 72 73 20 6d 65 73 |mail-hea|ders mes|
|00000840| 73 61 67 65 2d 73 65 6e | 64 2d 6d 61 69 6c 2d 66 |sage-sen|d-mail-f|
|00000850| 75 6e 63 74 69 6f 6e 20 | 74 20 62 75 66 66 65 72 |unction |t buffer|
|00000860| 2d 73 74 72 69 6e 67 20 | 66 69 6c 65 2d 64 69 72 |-string |file-dir|
|00000870| 65 63 74 6f 72 79 2d 70 | 20 66 69 6c 65 2d 6e 61 |ectory-p| file-na|
|00000880| 6d 65 2d 64 69 72 65 63 | 74 6f 72 79 20 6d 61 6b |me-direc|tory mak|
|00000890| 65 2d 64 69 72 65 63 74 | 6f 72 79 20 77 72 69 74 |e-direct|ory writ|
|000008a0| 65 2d 72 65 67 69 6f 6e | 20 6e 6f 6d 65 73 67 5d |e-region| nomesg]|
|000008b0| 20 36 5d 29 0a 28 6e 6e | 6f 6f 2d 72 65 67 69 73 | 6]).(nn|oo-regis|
|000008c0| 74 65 72 2d 66 75 6e 63 | 74 69 6f 6e 20 27 6e 6e |ter-func|tion 'nn|
|000008d0| 67 61 74 65 77 61 79 2d | 72 65 71 75 65 73 74 2d |gateway-|request-|
|000008e0| 70 6f 73 74 29 0a 23 40 | 33 39 20 54 72 61 6e 73 |post).#@|39 Trans|
|000008f0| 66 6f 72 6d 20 74 68 65 | 20 68 65 61 64 65 72 73 |form the| headers|
|00000900| 20 74 6f 20 75 73 65 20 | 47 41 54 45 57 41 59 2e | to use |GATEWAY.|
|00000910| 1f 0a 28 64 65 66 61 6c | 69 61 73 20 27 6e 6e 67 |..(defal|ias 'nng|
|00000920| 61 74 65 77 61 79 2d 73 | 69 6d 70 6c 65 2d 68 65 |ateway-s|imple-he|
|00000930| 61 64 65 72 2d 74 72 61 | 6e 73 66 6f 72 6d 61 74 |ader-tra|nsformat|
|00000940| 69 6f 6e 20 23 5b 28 67 | 61 74 65 77 61 79 29 20 |ion #[(g|ateway) |
|00000950| 22 c0 c1 21 1a c3 c4 21 | 88 c3 c5 21 88 65 62 88 |"..!...!|...!.eb.|
|00000960| c6 c7 5c 6e c8 c9 23 ca | 0e 0b cc b1 05 29 87 22 |..\n..#.|.....)."|
|00000970| 20 5b 6d 61 69 6c 2d 66 | 65 74 63 68 2d 66 69 65 | [mail-f|etch-fie|
|00000980| 6c 64 20 22 6e 65 77 73 | 67 72 6f 75 70 73 22 20 |ld "news|groups" |
|00000990| 6e 65 77 73 67 72 6f 75 | 70 73 20 6d 65 73 73 61 |newsgrou|ps messa|
|000009a0| 67 65 2d 72 65 6d 6f 76 | 65 2d 68 65 61 64 65 72 |ge-remov|e-header|
|000009b0| 20 22 74 6f 22 20 22 63 | 63 22 20 22 54 6f 3a 20 | "to" "c|c" "To: |
|000009c0| 22 20 6e 6e 68 65 61 64 | 65 72 2d 72 65 70 6c 61 |" nnhead|er-repla|
|000009d0| 63 65 2d 63 68 61 72 73 | 2d 69 6e 2d 73 74 72 69 |ce-chars|-in-stri|
|000009e0| 6e 67 20 3f 5c 2e 20 3f | 5c 2d 20 22 40 22 20 67 |ng ?\. ?|\- "@" g|
|000009f0| 61 74 65 77 61 79 20 22 | 5c 6e 22 5d 20 35 20 28 |ateway "|\n"] 5 (|
|00000a00| 23 24 20 2e 20 32 32 38 | 33 29 5d 29 0a 28 62 79 |#$ . 228|3)]).(by|
|00000a10| 74 65 2d 63 6f 64 65 20 | 22 c0 c1 21 88 c2 c1 21 |te-code |"..!...!|
|00000a20| 87 22 20 5b 6e 6e 6f 6f | 2d 64 65 66 69 6e 65 2d |." [nnoo|-define-|
|00000a30| 73 6b 65 6c 65 74 6f 6e | 2d 31 20 6e 6e 67 61 74 |skeleton|-1 nngat|
|00000a40| 65 77 61 79 20 70 72 6f | 76 69 64 65 5d 20 32 29 |eway pro|vide] 2)|
|00000a50| 0a | |. | |
+--------+-------------------------+-------------------------+--------+--------+